mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-12 15:44:57 +00:00
update 6.7
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class Game_Map
|
||||
SECRET_BASE_TILESET_OVERRIDES = {
|
||||
:BUSH => 100,
|
||||
:CAVE => 101,
|
||||
:TREE => 102,
|
||||
}
|
||||
|
||||
alias __tileset_swap_updateTileset updateTileset
|
||||
|
||||
def updateTileset
|
||||
if @map_id == MAP_SECRET_BASES && $Trainer.secretBase
|
||||
override = SECRET_BASE_TILESET_OVERRIDES[$Trainer.secretBase.biome_type]
|
||||
@map.tileset_id = override if override
|
||||
end
|
||||
__tileset_swap_updateTileset
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user