mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Animated flowers
This commit is contained in:
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
|
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
|
||||||
|
|||||||
@@ -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.
Reference in New Issue
Block a user