• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Essentials Tutorial] Adding more borders on Options Screen

FL

Pokémon Island Creator
  • 2,545
    Posts
    14
    Years
    • Seen today
    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:
    1. 'if !FULLSCREENBORDERCROP && $PokemonSystem && $PokemonSystem.border==1' into 'if !FULLSCREENBORDERCROP && $PokemonSystem && $PokemonSystem.border>0'
    2. 'border=$PokemonSystem ? $PokemonSystem.border : 0' to 'border=$PokemonSystem ? [$PokemonSystem.border,1].min : 0'
    3. '@sprite.visible=($PokemonSystem && $PokemonSystem.border==1)' to '@sprite.visible=($PokemonSystem && $PokemonSystem.border>0)'
    4. '@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)'.
     
    Last edited:
    Back
    Top