Fixes in-battle form changes

This commit is contained in:
infinitefusion
2024-12-22 11:27:23 -05:00
parent 57d0118ee9
commit db8f0d6d3e
10 changed files with 11 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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