pyukumumu

This commit is contained in:
infinitefusion
2022-03-13 14:53:55 -04:00
parent 79f63485a3
commit a8073ef6d8
20 changed files with 12 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -222,6 +222,14 @@ class Game_Character
#============================================================================= #=============================================================================
# Passability # Passability
#============================================================================= #=============================================================================
def pbFacingTerrainTag(dir = nil)
dir = self.direction if !dir
return $MapFactory.getFacingTerrainTag(dir, self) if $MapFactory
facing = pbFacingTile(dir, self)
return $game_map.terrain_tag(facing[1], facing[2])
end
def passable?(x, y, d, strict = false) def passable?(x, y, d, strict = false)
new_x = x + (d == 6 ? 1 : d == 4 ? -1 : 0) new_x = x + (d == 6 ? 1 : d == 4 ? -1 : 0)
new_y = y + (d == 2 ? 1 : d == 8 ? -1 : 0) new_y = y + (d == 2 ? 1 : d == 8 ? -1 : 0)

View File

@@ -130,6 +130,7 @@ class Game_Event < Game_Character
return @map_id == $game_map.map_id && at_coordinate?($game_player.x, $game_player.y) return @map_id == $game_map.map_id && at_coordinate?($game_player.x, $game_player.y)
end end
def over_trigger? def over_trigger?
return false if @character_name != "" && !@through return false if @character_name != "" && !@through
return false if @event.name[/hiddenitem/i] return false if @event.name[/hiddenitem/i]

View File

@@ -143,12 +143,7 @@ class Game_Player < Game_Character
return nil return nil
end end
def pbFacingTerrainTag(dir = nil)
dir = self.direction if !dir
return $MapFactory.getFacingTerrainTag(dir, self) if $MapFactory
facing = pbFacingTile(dir, self)
return $game_map.terrain_tag(facing[1], facing[2])
end
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# * Passable Determinants # * Passable Determinants

View File

@@ -9,7 +9,8 @@
# For the tone_proc, strength goes from 0 to RPG::Weather::MAX_SPRITES (60) and # For the tone_proc, strength goes from 0 to RPG::Weather::MAX_SPRITES (60) and
# will typically be the maximum. # will typically be the maximum.
module GameData module GameData
class Weather class
Weather
attr_reader :id attr_reader :id
attr_reader :id_number attr_reader :id_number
attr_reader :real_name attr_reader :real_name

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.