mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
clown nose
This commit is contained in:
@@ -30,6 +30,7 @@ class Game_Temp
|
||||
attr_accessor :loading_screen
|
||||
attr_accessor :custom_sprites_list
|
||||
attr_accessor :base_sprites_list
|
||||
attr_accessor :corrupted_map
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# * Object Initialization
|
||||
@@ -59,7 +60,7 @@ class Game_Temp
|
||||
@mart_prices = {}
|
||||
@custom_sprites_list ={}
|
||||
@base_sprites_list ={}
|
||||
|
||||
@corrupted_map = false
|
||||
end
|
||||
|
||||
def clear_mart_prices
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
# functions. Refer to "$game_map" for the instance of this class.
|
||||
#==============================================================================
|
||||
class Game_Map
|
||||
attr_accessor :map
|
||||
attr_accessor :map_id
|
||||
attr_accessor :tileset_name # tileset file name
|
||||
attr_accessor :autotile_names # autotile file name
|
||||
@@ -89,7 +90,13 @@ class Game_Map
|
||||
|
||||
def updateTileset
|
||||
tileset = $data_tilesets[@map.tileset_id]
|
||||
|
||||
tileset_corrupt = $data_tilesets[TILESET_CORRUPTED] if $game_temp.corrupted_map
|
||||
|
||||
|
||||
@tileset_name = tileset.tileset_name
|
||||
@tileset_name = tileset_corrupt.tileset_name if tileset_corrupt
|
||||
|
||||
@autotile_names = tileset.autotile_names
|
||||
@panorama_name = tileset.panorama_name
|
||||
@panorama_hue = tileset.panorama_hue
|
||||
|
||||
Reference in New Issue
Block a user