mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixes wearable sprite offset and layering issues when autoscrolling the map
This commit is contained in:
@@ -236,7 +236,6 @@ class PokemonMart_Scene
|
||||
|
||||
def pbStartBuyOrSellScene(buying, stock, adapter)
|
||||
# Scroll right before showing screen
|
||||
$scene.spritesetGlobal.playersprite.toggleWearableScrollAdjustments(true) # todo temp
|
||||
scroll_map()
|
||||
@viewport = Viewport.new(0, 0, Graphics.width, Graphics.height)
|
||||
@viewport.z = 99999
|
||||
@@ -278,8 +277,6 @@ class PokemonMart_Scene
|
||||
@buying = buying
|
||||
pbRefresh
|
||||
Graphics.frame_reset
|
||||
$scene.spritesetGlobal.playersprite.toggleWearableScrollAdjustments(false) # todo temp
|
||||
|
||||
end
|
||||
|
||||
def pbStartBuyScene(stock, adapter)
|
||||
@@ -590,6 +587,7 @@ class PokemonMartScreen
|
||||
@scene.pbStartBuyScene(@stock,@adapter)
|
||||
item=nil
|
||||
loop do
|
||||
pbWait(4)
|
||||
item=@scene.pbChooseBuyItem
|
||||
break if !item
|
||||
quantity=0
|
||||
|
||||
Reference in New Issue
Block a user