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

@@ -460,7 +460,6 @@ class PokemonMart_Scene
ret = 0
helpwindow = @sprites["helpwindow"]
itemprice = @adapter.getPrice(item, !@buying)
itemprice /= 2 if !@buying
pbDisplay(helptext, true)
using(numwindow = Window_AdvancedTextPokemon.new("")) do # Showing number of items
pbPrepareWindow(numwindow)
@@ -681,7 +680,6 @@ class PokemonMartScreen
@scene.pbHideMoney
next
end
price /= 2
price *= qty
if pbConfirm(_INTL("I can pay ${1}.\nWould that be OK?", price.to_s_formatted))
old_money = @adapter.getMoney