mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Adds experimental mode in which levels don't affect stats
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.
@@ -33,6 +33,7 @@ module Settings
|
||||
BACKSPRITE_POSITION_OFFSET = 20
|
||||
FRONTSPRITE_POSITION = 200
|
||||
SHINY_HUE_OFFSET = 75
|
||||
NO_LEVEL_MODE_LEVEL = 25
|
||||
|
||||
RIVAL_STARTER_PLACEHOLDER_SPECIES = :MEW #(MEW)
|
||||
VAR_1_PLACEHOLDER_SPECIES = :DIALGA
|
||||
|
||||
@@ -230,8 +230,8 @@ class PokemonDataBox < SpriteWrapper
|
||||
end
|
||||
pbDrawTextPositions(self.bitmap,textPos)
|
||||
# Draw Pokémon's level
|
||||
imagePos.push(["Graphics/Pictures/Battle/overlay_lv",@spriteBaseX+140,16])
|
||||
pbDrawNumber(@battler.level,self.bitmap,@spriteBaseX+162,16)
|
||||
imagePos.push(["Graphics/Pictures/Battle/overlay_lv",@spriteBaseX+140,16]) if !$game_switches[SWITCH_NO_LEVELS_MODE]
|
||||
pbDrawNumber(@battler.level,self.bitmap,@spriteBaseX+162,16) if !$game_switches[SWITCH_NO_LEVELS_MODE]
|
||||
# Draw shiny icon
|
||||
if @battler.shiny?
|
||||
shinyX = (@battler.opposes?(0)) ? 206 : -6 # Foe's/player's
|
||||
|
||||
@@ -1136,6 +1136,11 @@ class Pokemon
|
||||
base_stats = self.baseStats
|
||||
this_level = self.level
|
||||
this_IV = self.calcIV
|
||||
|
||||
if $game_switches[SWITCH_NO_LEVELS_MODE]
|
||||
this_level = Settings::NO_LEVEL_MODE_LEVEL
|
||||
end
|
||||
|
||||
# Format stat multipliers due to nature
|
||||
nature_mod = {}
|
||||
GameData::Stat.each_main { |s| nature_mod[s.id] = 100 }
|
||||
|
||||
@@ -22,6 +22,7 @@ SWITCH_GAME_DIFFICULTY_EASY = 665
|
||||
SWITCH_GAME_DIFFICULTY_HARD = 666
|
||||
SWITCH_MODERN_MODE=974
|
||||
SWITCH_V5_1=825
|
||||
SWITCH_NO_LEVELS_MODE=774
|
||||
|
||||
#Game progression switches
|
||||
SWITCH_DURING_INTRO = 917
|
||||
|
||||
@@ -32,6 +32,7 @@ def download_sprite(base_path, head_id, body_id)
|
||||
end
|
||||
|
||||
def download_autogen_sprite(head_id, body_id)
|
||||
return nil if !$PokemonSystem.download_sprites
|
||||
base_path = "https://raw.githubusercontent.com/Aegide/autogen-fusion-sprites/master/Battlers/{1}/{1}.{2}.png"
|
||||
sprite = download_sprite(_INTL(base_path,head_id,body_id),head_id,body_id)
|
||||
return sprite if sprite
|
||||
@@ -39,6 +40,7 @@ def download_autogen_sprite(head_id, body_id)
|
||||
end
|
||||
|
||||
def download_custom_sprite(head_id, body_id)
|
||||
return nil if !$PokemonSystem.download_sprites
|
||||
base_path = "https://raw.githubusercontent.com/Aegide/custom-fusion-sprites/main/CustomBattlers/{1}.{2}.png"
|
||||
sprite = download_sprite(_INTL(base_path,head_id,body_id),head_id,body_id)
|
||||
return sprite if sprite
|
||||
|
||||
Binary file not shown.
@@ -595,7 +595,7 @@
|
||||
587,POISONMUSHROOM,PoisonMushroom,PoisonMushrooms,1,50,A common poisonous mushroom. It can be sold for a small price.,1,1,0,
|
||||
588,EXPALLOFF,Exp. All,Exp. Alls,8,0,"An item that can be used to share experience gained with every party member.",2,0,6,
|
||||
589,GASMASK,Gas Mask,Gas Masks,8,0,"A mask that lets you breathe in areas filled with poisonous gas.",0,0,6,
|
||||
590,MANKEYPAW,Mankey Paw,Mankey Paws,1,19600,"Guarantees Critical-Hits, but halves accuracy.",0,0,0,
|
||||
590,MANKEYPAW,Mankey Paw,Mankey Paws,1,19600,"Guarantees Critical-Hits, but makes the user miss half the time.",0,0,0,
|
||||
591,ICEPICK,Ice Pick,Ice Picks,8,0,"An Ice Pick that lets you climb vertical walls of ice.",0,0,6,
|
||||
592,RACEBIKE,Racing Bicycle,Racing Bicycles,8,0,A folding Bicycle that enables much faster movement than a regular bicycle,2,0,6,
|
||||
593,DIAMOND,Diamond,Diamonds,1,20000,A rare gem that is used for making jewelry. It sells for a high price.,0,0,0,
|
||||
|
||||
Reference in New Issue
Block a user