mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Moved global/map metadata constants and schema into modules
This commit is contained in:
@@ -276,7 +276,7 @@ def pbBattleAnimation(bgm=nil,battletype=0,foe=nil)
|
||||
location = 3
|
||||
elsif $PokemonEncounters.isCave?
|
||||
location = 2
|
||||
elsif !pbGetMetadata($game_map.map_id,MetadataOutdoor)
|
||||
elsif !pbGetMetadata($game_map.map_id,MapMetadata::OUTDOOR)
|
||||
location = 1
|
||||
end
|
||||
anim = ""
|
||||
@@ -653,7 +653,7 @@ def pbStartOver(gameover=false)
|
||||
$scene.transfer_player if $scene.is_a?(Scene_Map)
|
||||
$game_map.refresh
|
||||
else
|
||||
homedata = pbGetMetadata(0,MetadataHome)
|
||||
homedata = pbGetMetadata(0,Metadata::HOME)
|
||||
if homedata && !pbRxdataExists?(sprintf("Data/Map%03d",homedata[0]))
|
||||
if $DEBUG
|
||||
pbMessage(_ISPRINTF("Can't find the map 'Map{1:03d}' in the Data folder. The game will resume at the player's position.",homedata[0]))
|
||||
|
||||
Reference in New Issue
Block a user