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.
@@ -170,7 +170,7 @@ def createMinimap(mapid)
map = load_data(sprintf("Data/Map%03d.rxdata", mapid)) rescue nil
return Bitmap.new(32, 32) if !map
bitmap = Bitmap.new(map.width * 4, map.height * 4)
black = Color.black
black=Color.new(0,0,0)
tilesets = $data_tilesets
tileset = tilesets[map.tileset_id]
return bitmap if !tileset
+1 -16
View File
@@ -58,7 +58,7 @@ module Graphics
if $PokemonSystem && $PokemonSystem.speedup == 1
speedStage = SPEEDUP_STAGES[$GameSpeed]
else
speedStage =$PokemonSystem.speedup 1
speedStage = 1
if Input.press?(Input::AUX1) && $CanToggle
$PokemonSystem.speedup_speed = Settings::DEFAULT_SPEED_UP_SPEED if !$PokemonSystem.speedup_speed || $PokemonSystem.speedup_speed==0
speedStage=$PokemonSystem.speedup_speed+1
@@ -68,19 +68,4 @@ module Graphics
fast_forward_update
$frame = 0
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.