Animated flowers

This commit is contained in:
chardub
2025-04-19 14:23:57 -04:00
parent 5255ce0215
commit 86471fbedf
13 changed files with 2 additions and 17 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.

View File

@@ -170,7 +170,7 @@ def createMinimap(mapid)
map = load_data(sprintf("Data/Map%03d.rxdata", mapid)) rescue nil map = load_data(sprintf("Data/Map%03d.rxdata", mapid)) rescue nil
return Bitmap.new(32, 32) if !map return Bitmap.new(32, 32) if !map
bitmap = Bitmap.new(map.width * 4, map.height * 4) bitmap = Bitmap.new(map.width * 4, map.height * 4)
black = Color.black black=Color.new(0,0,0)
tilesets = $data_tilesets tilesets = $data_tilesets
tileset = tilesets[map.tileset_id] tileset = tilesets[map.tileset_id]
return bitmap if !tileset return bitmap if !tileset

View File

@@ -58,7 +58,7 @@ module Graphics
if $PokemonSystem && $PokemonSystem.speedup == 1 if $PokemonSystem && $PokemonSystem.speedup == 1
speedStage = SPEEDUP_STAGES[$GameSpeed] speedStage = SPEEDUP_STAGES[$GameSpeed]
else else
speedStage =$PokemonSystem.speedup 1 speedStage = 1
if Input.press?(Input::AUX1) && $CanToggle if Input.press?(Input::AUX1) && $CanToggle
$PokemonSystem.speedup_speed = Settings::DEFAULT_SPEED_UP_SPEED if !$PokemonSystem.speedup_speed || $PokemonSystem.speedup_speed==0 $PokemonSystem.speedup_speed = Settings::DEFAULT_SPEED_UP_SPEED if !$PokemonSystem.speedup_speed || $PokemonSystem.speedup_speed==0
speedStage=$PokemonSystem.speedup_speed+1 speedStage=$PokemonSystem.speedup_speed+1
@@ -69,18 +69,3 @@ module Graphics
$frame = 0 $frame = 0
end end
end end
class PokemonSystem
attr_accessor :speedup
attr_accessor :speedup_speed
alias pokemonSystem_SpeedUp initialize
def initialize
pokemonSystem_SpeedUp
@speedup = 0 #0= hold, 1=toggle
@speedup_speed = 3 #for hold only
end
end

Binary file not shown.