mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-27 00:36:00 +00:00
makes it so that you can start surfing even if standing on water
This commit is contained in:
Binary file not shown.
@@ -821,7 +821,6 @@ Events.onAction += proc { |_sender, _e|
|
|||||||
next if GameData::MapMetadata.exists?($game_map.map_id) &&
|
next if GameData::MapMetadata.exists?($game_map.map_id) &&
|
||||||
GameData::MapMetadata.get($game_map.map_id).always_bicycle
|
GameData::MapMetadata.get($game_map.map_id).always_bicycle
|
||||||
next if !$game_player.pbFacingTerrainTag.can_surf_freely
|
next if !$game_player.pbFacingTerrainTag.can_surf_freely
|
||||||
next if !$game_map.passable?($game_player.x, $game_player.y, $game_player.direction, $game_player)
|
|
||||||
pbSurf
|
pbSurf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ def download_sprite(base_path, head_id, body_id, saveLocation = "Graphics/temp",
|
|||||||
downloaded_file_name = _INTL("{1}/{2}.{3}{4}.png", saveLocation, head_id, body_id,alt_letter)
|
downloaded_file_name = _INTL("{1}/{2}.{3}{4}.png", saveLocation, head_id, body_id,alt_letter)
|
||||||
return downloaded_file_name if pbResolveBitmap(downloaded_file_name)
|
return downloaded_file_name if pbResolveBitmap(downloaded_file_name)
|
||||||
url = _INTL(base_path, head_id, body_id)
|
url = _INTL(base_path, head_id, body_id)
|
||||||
echo "\nSending request to " + url
|
#echo "\nSending request to " + url
|
||||||
response = HTTPLite.get(url)
|
response = HTTPLite.get(url)
|
||||||
if response[:status] == 200
|
if response[:status] == 200
|
||||||
File.open(downloaded_file_name, "wb") do |file|
|
File.open(downloaded_file_name, "wb") do |file|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user