Fixes boon island warps

This commit is contained in:
infinitefusion
2023-07-03 07:48:27 -04:00
parent dbfaf352bc
commit 0fca95c637
7 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -734,7 +734,7 @@ def pbMessageDisplay(msgwindow, message, letterbyletter = true, commandProc = ni
head = getBasePokemonID(param.to_i, false) head = getBasePokemonID(param.to_i, false)
body = getBasePokemonID(param.to_i, true) body = getBasePokemonID(param.to_i, true)
facewindow.dispose if facewindow facewindow.dispose if facewindow
path = obtainPokemonSpritePath(body, head, $game_variables[VAR_CUSTOM_SPRITES_ENABLED] == 0) path = obtainPokemonSpritePath(body, head, true)
facewindow = isFusion ? PictureWindow.new(path) : PictureWindow.new("Graphics/Battlers/#{head}/#{head}.png") facewindow = isFusion ? PictureWindow.new(path) : PictureWindow.new("Graphics/Battlers/#{head}/#{head}.png")
pbPositionNearMsgWindow(facewindow, msgwindow, :left) pbPositionNearMsgWindow(facewindow, msgwindow, :left)
facewindow.viewport = msgwindow.viewport facewindow.viewport = msgwindow.viewport