mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixes in-battle form changes
This commit is contained in:
@@ -104,6 +104,14 @@ module GameData
|
|||||||
return @head_pokemon.id_number
|
return @head_pokemon.id_number
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def get_body_species_symbol
|
||||||
|
return @body_pokemon.id
|
||||||
|
end
|
||||||
|
|
||||||
|
def get_head_species_symbol
|
||||||
|
return @head_pokemon.id
|
||||||
|
end
|
||||||
|
|
||||||
def adjust_stats_with_evs
|
def adjust_stats_with_evs
|
||||||
GameData::Stat.each_main do |s|
|
GameData::Stat.each_main do |s|
|
||||||
@base_stats[s.id] = 1 if !@base_stats[s.id] || @base_stats[s.id] <= 0
|
@base_stats[s.id] = 1 if !@base_stats[s.id] || @base_stats[s.id] <= 0
|
||||||
|
|||||||
@@ -42,5 +42,6 @@ end
|
|||||||
|
|
||||||
def Kernel.getMapName(id)
|
def Kernel.getMapName(id)
|
||||||
mapinfos = pbLoadMapInfos
|
mapinfos = pbLoadMapInfos
|
||||||
|
return "Unknown location" if !mapinfos[id]
|
||||||
return mapinfos[id].name
|
return mapinfos[id].name
|
||||||
end
|
end
|
||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
|||||||
1734883339
|
1734884784
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user