Fixed error when shifting Pokémon at the end of a battle round, fixed Giratina's form code crashing if the current map doesn't have metadata, fixed item sell prices being halved twice

This commit is contained in:
Maruno17
2022-08-13 16:29:48 +01:00
parent 1d2f13f9c5
commit c79b970d6b
3 changed files with 2 additions and 5 deletions

View File

@@ -579,7 +579,7 @@ class Battle
swaps.each do |pair|
next if pbSideSize(pair[0]) == 2 && swaps.length > 1
next if !pbSwapBattlers(pair[0], pair[1])
case pbSideSize(side)
case pbSideSize(pair[1])
when 2
pbDisplay(_INTL("{1} moved across!", @battlers[pair[1]].pbThis))
when 3