mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Random grammar fixes + fixes crash while using morning sun & moonlight in some indoor maps
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.
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.
Binary file not shown.
@@ -85,7 +85,8 @@ end
|
||||
|
||||
############### MORNING SUN / MOONLIGHT
|
||||
HiddenMoveHandlers::CanUseMove.add(:MORNINGSUN,proc{|move,pkmn|
|
||||
if !GameData::MapMetadata.get($game_map.map_id).outdoor_map
|
||||
mapMetadata = GameData::MapMetadata.get($game_map.map_id)
|
||||
if !mapMetadata || !mapMetadata.outdoor_map
|
||||
Kernel.pbMessage(_INTL("Can't use that here."))
|
||||
next false
|
||||
end
|
||||
@@ -107,7 +108,8 @@ HiddenMoveHandlers::UseMove.add(:MORNINGSUN,proc{|move,pokemon|
|
||||
})
|
||||
|
||||
HiddenMoveHandlers::CanUseMove.add(:MOONLIGHT,proc{|move,pkmn|
|
||||
if !GameData::MapMetadata.get($game_map.map_id).outdoor_map
|
||||
mapMetadata = GameData::MapMetadata.get($game_map.map_id)
|
||||
if !mapMetadata || !mapMetadata.outdoor_map
|
||||
Kernel.pbMessage(_INTL("Can't use that here."))
|
||||
next false
|
||||
end
|
||||
|
||||
@@ -30,6 +30,8 @@ def handleReplaceExistingSprites()
|
||||
when 0 #Do not import
|
||||
pbMessage("You can manually sort the new sprites in the /indexed folder to choose which ones you want to keep.")
|
||||
pbMessage("You can also delete the ones you don't want to replace the main sprites and restart the game.")
|
||||
pbMessage("Keep in mind that the game will take longer to load until these sprites are imported/removed.")
|
||||
|
||||
return
|
||||
when 1 #Replace olds
|
||||
spritesToReplaceList.each do |oldPath, newPath|
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user