mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
randomizer fixces
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.
@@ -6254,6 +6254,7 @@
|
|||||||
48.95,IanDig#0294
|
48.95,IanDig#0294
|
||||||
48.96,Seath#8173
|
48.96,Seath#8173
|
||||||
48.97,CoramSun#0274
|
48.97,CoramSun#0274
|
||||||
|
48.99,HubblePie#0787
|
||||||
48.100,Aquatic#7954
|
48.100,Aquatic#7954
|
||||||
48.102,xigzagoon#9354
|
48.102,xigzagoon#9354
|
||||||
48.103,Gorky#1761
|
48.103,Gorky#1761
|
||||||
@@ -371,7 +371,7 @@ class HallOfFame_Scene
|
|||||||
if $game_switches[SWITCH_RANDOMIZED_AT_LEAST_ONCE]
|
if $game_switches[SWITCH_RANDOMIZED_AT_LEAST_ONCE]
|
||||||
gameMode = "Randomized mode"
|
gameMode = "Randomized mode"
|
||||||
end
|
end
|
||||||
if $PokemonBag.pbQuantity(:MAGICBOOTS)>=1 || $DEBUG
|
if $game_switches[ENABLED_DEBUG_MODE_AT_LEAST_ONCE] || $DEBUG
|
||||||
gameMode = "Debug mode"
|
gameMode = "Debug mode"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -422,7 +422,7 @@ def getCustomSpeciesList(allowOnline = true, redownload_file=false)
|
|||||||
path = filesList[i]
|
path = filesList[i]
|
||||||
file = File.basename(path, ".*")
|
file = File.basename(path, ".*")
|
||||||
fused = getDexNumFromFilename(file)
|
fused = getDexNumFromFilename(file)
|
||||||
if fused <= maxDexNumber && fused > 0
|
if fused && (fused <= maxDexNumber && fused > 0)
|
||||||
speciesList << fused
|
speciesList << fused
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ SWITCH_GOT_BADGE_16 = 50
|
|||||||
#Randomizer Switches
|
#Randomizer Switches
|
||||||
SWITCH_RANDOM_WILD_TO_FUSION=953
|
SWITCH_RANDOM_WILD_TO_FUSION=953
|
||||||
SWITCH_RANDOMIZED_AT_LEAST_ONCE = 855
|
SWITCH_RANDOMIZED_AT_LEAST_ONCE = 855
|
||||||
|
ENABLED_DEBUG_MODE_AT_LEAST_ONCE = 842
|
||||||
|
|
||||||
SWITCH_RANDOM_WILD = 778
|
SWITCH_RANDOM_WILD = 778
|
||||||
SWITCH_RANDOM_WILD_AREA = 777
|
SWITCH_RANDOM_WILD_AREA = 777
|
||||||
|
|
||||||
|
|||||||
@@ -385,7 +385,7 @@ def obtainPokemonSpritePath(bodyId, headId, include_customs = true)
|
|||||||
download_pokemon_sprite_if_missing(bodyId,headId)
|
download_pokemon_sprite_if_missing(bodyId,headId)
|
||||||
picturePath = _INTL("Graphics/Battlers/{1}/{1}.{2}.png", headId, bodyId)
|
picturePath = _INTL("Graphics/Battlers/{1}/{1}.{2}.png", headId, bodyId)
|
||||||
|
|
||||||
if include_customs && customSpriteExists(bodyId,headId)
|
if include_customs && customSpriteExistsBodyHead(bodyId,headId)
|
||||||
pathCustom = getCustomSpritePath(bodyId,headId)
|
pathCustom = getCustomSpritePath(bodyId,headId)
|
||||||
if (pbResolveBitmap(pathCustom))
|
if (pbResolveBitmap(pathCustom))
|
||||||
picturePath = pathCustom
|
picturePath = pathCustom
|
||||||
@@ -410,7 +410,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
def customSpriteExists(body, head)
|
def customSpriteExistsBodyHead(body, head)
|
||||||
pathCustom = getCustomSpritePath(body,head)
|
pathCustom = getCustomSpritePath(body,head)
|
||||||
|
|
||||||
return true if pbResolveBitmap(pathCustom) != nil
|
return true if pbResolveBitmap(pathCustom) != nil
|
||||||
|
|||||||
@@ -407,7 +407,7 @@ ItemHandlers::UseFromBag.add(:MAGICBOOTS, proc { |item|
|
|||||||
else
|
else
|
||||||
if Kernel.pbConfirmMessageSerious(_INTL("Put on the Magic Boots?"))
|
if Kernel.pbConfirmMessageSerious(_INTL("Put on the Magic Boots?"))
|
||||||
Kernel.pbMessage(_INTL("Debug mode is now active."))
|
Kernel.pbMessage(_INTL("Debug mode is now active."))
|
||||||
$game_switches[842] = true #got debug mode (for compatibility)
|
$game_switches[ENABLED_DEBUG_MODE_AT_LEAST_ONCE] = true #got debug mode (for compatibility)
|
||||||
$DEBUG = true
|
$DEBUG = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
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