FANDOM


Adding more borders on Options Screen
This tutorial was written by -FL-. Please give credit.
Click here for more tutorials!


This tutorial explains how to change the border setting on Option Screen from "On"/"Off", into "Off" and several border graphics.

First, put your borders on Graphics\Pictures naming as border0.png, border1.png, border2.png and so on.

At Win32API script section change line 'if $PokemonSystem && $PokemonSystem.border==1' into 'if $PokemonSystem && $PokemonSystem.border>0'.

At Sprite_Resizer script section change lines:

  • 'if !FULLSCREENBORDERCROP && $PokemonSystem && $PokemonSystem.border==1' into 'if !FULLSCREENBORDERCROP && $PokemonSystem && $PokemonSystem.border>0'
  • 'border=$PokemonSystem ? $PokemonSystem.border : 0' to 'border=$PokemonSystem ? [$PokemonSystem.border,1].min : 0'
  • '@sprite.visible=($PokemonSystem && $PokemonSystem.border==1)' to '@sprite.visible=($PokemonSystem && $PokemonSystem.border>0)'
  • '@sprite.visible=($PokemonSystem && $PokemonSystem.border==1)' to '@sprite.visible=($PokemonSystem && $PokemonSystem.border>0)'

At PScreen_Options script section change line 'EnumOption.new(_INTL("Screen Border"),[_INTL("Off"),_INTL("On")],' to 'EnumOption2.new(_INTL("Screen Border"),[_INTL("Off"),_INTL("Border 0 name"),_INTL("Border 1 name"),_INTL("Border 2 name")],'. You can add more items if you wish. Before line 'pbSetResizeFactor($PokemonSystem.screensize)' add 'setScreenBorderName("border"+(value-1).to_s) if value>0'.

At Main script section change line 'setScreenBorderName("border") # Sets image file for the border' to 'setScreenBorderName("border"+($PokemonSystem.border-1).to_s)'.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.