22645-\[Pokemon_Essentials]_MenĂº_Tactil_una_Pantalla
#12
Arots 28929
Yo se como es
Esto
class PokemonOptionScene
def pbUpdate
pbUpdateSpriteHash [MENTION=24071]Sprite[/MENTION]s)
end
def pbStartScene [MENTION=24071]Sprite[/MENTION]s={}
@viewport=Viewport.new(0,0,Graphics.width,Graphics.height)
@viewport.z=99999
[MENTION=24071]Sprite[/MENTION]s["title"]=Window_UnformattedTextPokemon.newWithSize(
_INTL("Options"),0,0,Graphics.width,64,@viewport)
[MENTION=24071]Sprite[/MENTION]s["textbox"]=Kernel.pbCreateMessageWindow
[MENTION=24071]Sprite[/MENTION]s["textbox"].letterbyletter=false
[MENTION=24071]Sprite[/MENTION]s["textbox"].text=_INTL("Speech frame {1}.",1+$PokemonSystem.textskin)
screensize1=_INTL("{1}x{2}",DEFAULTSCREENWIDTH/2,DEFAULTSCREENHEIGHT/2)
screensize2=_INTL("{1}x{2}",DEFAULTSCREENWIDTH,DEFAULTSCREENHEIGHT)
# These are the different options in the game. To add an option, define a setter and
# a getter for that option. To delete an option, comment it out or delete it.
# The game's options may be placed in any order.
[MENTION=12671]pokemon[/MENTION]Options=[
EnumOption.new(_INTL("TEXT SPEED"),[_INTL("SLOW"),_INTL("MID"),_INTL("FAST")],
proc { $PokemonSystem.textspeed }, # Getter
proc {|value|
$PokemonSystem.textspeed=value
MessageConfig.pbSetTextSpeed(pbSettingToTextSpeed(value))
} # Setter
),
EnumOption.new(_INTL("BATTLE SCENE"),[_INTL("ON"),_INTL("OFF")],
proc { $PokemonSystem.battlescene },
proc {|value| $PokemonSystem.battlescene=value }
),
EnumOption.new(_INTL("BATTLE STYLE"),[_INTL("SHIFT"),_INTL("SET")],
proc { $PokemonSystem.battlestyle },
proc {|value| $PokemonSystem.battlestyle=value }
),
EnumOption.new(_INTL("FONT STYLE"),[_INTL("Em"),_INTL("R/S"),_INTL("FRLG"),_INTL("DP")],
proc { $PokemonSystem.font },
proc {|value|
$PokemonSystem.font=value
MessageConfig.pbSetSystemFontName($VersionStyles[value])
}
),
NumberOption.new(_INTL("FRAME"),_INTL("TYPE%d"),1,$TextFrames.length,
proc { $PokemonSystem.frame },
proc {|value|
$PokemonSystem.frame=value
MessageConfig.pbSetSystemFrame($TextFrames[value])
}
),
EnumOption2.new(_INTL("MAP VIEW"),[_INTL("ORIGINAL"),_INTL("CUSTOM"),_INTL("PERSPECTIVE")],
proc { $PokemonSystem.tilemap ? $PokemonSystem.tilemap : 0 },
proc {|value|
oldvalue=$PokemonSystem.tilemap
$PokemonSystem.tilemap=value
if value!=oldvalue
ObjectSpace.each_object(TilemapLoader){|o| next if o.disposed?; o.updateClass }
end
}
),
NumberOption.new(_INTL("SPEECH FRAME"),_INTL("TYPE%d"),1,$SpeechFrames.length,
proc { $PokemonSystem.textskin },
proc {|value| $PokemonSystem.textskin=value;
MessageConfig.pbSetSpeechFrame(
"Graphics/Windowskins/"+$SpeechFrames[value]) }
)
]

[MENTION=24071]Sprite[/MENTION]s["option"]=Window_PokemonOption.new [MENTION=12671]pokemon[/MENTION]Options,0,
[MENTION=24071]Sprite[/MENTION]s["title"].height,Graphics.width,
[email]Graphics.height [MENTION=24071]Sprite[/MENTION]s["title"].height[/email])
[MENTION=24071]Sprite[/MENTION]s["option"].viewport=@viewport
[MENTION=24071]Sprite[/MENTION]s["option"].visible=true
# Get the values of each option
for i in 0.. [MENTION=12671]pokemon[/MENTION]Options.length
[MENTION=24071]Sprite[/MENTION]s["option"]= [MENTION=12671]pokemon[/MENTION]Options.get || 0)
end
pbDeactivateWindows [MENTION=24071]Sprite[/MENTION]s)
pbFadeInAndShow [MENTION=24071]Sprite[/MENTION]s) { pbUpdate }
end
Hay k sustituir en el script de Pokemon options(Borras desde la linea 347[v13] asta la linea donde pone
pbDeactivateWindows [MENTION=24071]Sprite[/MENTION]s)
y asta el end.Tras borrarlo copiaas y pegas el script k te puse antes

Yo se como es
Esto
class PokemonOptionScene
def pbUpdate
pbUpdateSpriteHash [MENTION=24071]Sprite[/MENTION]s)
end
def pbStartScene [MENTION=24071]Sprite[/MENTION]s={}
@viewport=Viewport.new(0,0,Graphics.width,Graphics.height)
@viewport.z=99999
[MENTION=24071]Sprite[/MENTION]s["title"]=Window_UnformattedTextPokemon.newWithSize(
_INTL("Options"),0,0,Graphics.width,64,@viewport)
[MENTION=24071]Sprite[/MENTION]s["textbox"]=Kernel.pbCreateMessageWindow
[MENTION=24071]Sprite[/MENTION]s["textbox"].letterbyletter=false
[MENTION=24071]Sprite[/MENTION]s["textbox"].text=_INTL("Speech frame {1}.",1+$PokemonSystem.textskin)
screensize1=_INTL("{1}x{2}",DEFAULTSCREENWIDTH/2,DEFAULTSCREENHEIGHT/2)
screensize2=_INTL("{1}x{2}",DEFAULTSCREENWIDTH,DEFAULTSCREENHEIGHT)
# These are the different options in the game. To add an option, define a setter and
# a getter for that option. To delete an option, comment it out or delete it.
# The game's options may be placed in any order.
[MENTION=12671]pokemon[/MENTION]Options=[
EnumOption.new(_INTL("TEXT SPEED"),[_INTL("SLOW"),_INTL("MID"),_INTL("FAST")],
proc { $PokemonSystem.textspeed }, # Getter
proc {|value|
$PokemonSystem.textspeed=value
MessageConfig.pbSetTextSpeed(pbSettingToTextSpeed(value))
} # Setter
),
EnumOption.new(_INTL("BATTLE SCENE"),[_INTL("ON"),_INTL("OFF")],
proc { $PokemonSystem.battlescene },
proc {|value| $PokemonSystem.battlescene=value }
),
EnumOption.new(_INTL("BATTLE STYLE"),[_INTL("SHIFT"),_INTL("SET")],
proc { $PokemonSystem.battlestyle },
proc {|value| $PokemonSystem.battlestyle=value }
),
EnumOption.new(_INTL("FONT STYLE"),[_INTL("Em"),_INTL("R/S"),_INTL("FRLG"),_INTL("DP")],
proc { $PokemonSystem.font },
proc {|value|
$PokemonSystem.font=value
MessageConfig.pbSetSystemFontName($VersionStyles[value])
}
),
NumberOption.new(_INTL("FRAME"),_INTL("TYPE%d"),1,$TextFrames.length,
proc { $PokemonSystem.frame },
proc {|value|
$PokemonSystem.frame=value
MessageConfig.pbSetSystemFrame($TextFrames[value])
}
),
EnumOption2.new(_INTL("MAP VIEW"),[_INTL("ORIGINAL"),_INTL("CUSTOM"),_INTL("PERSPECTIVE")],
proc { $PokemonSystem.tilemap ? $PokemonSystem.tilemap : 0 },
proc {|value|
oldvalue=$PokemonSystem.tilemap
$PokemonSystem.tilemap=value
if value!=oldvalue
ObjectSpace.each_object(TilemapLoader){|o| next if o.disposed?; o.updateClass }
end
}
),
NumberOption.new(_INTL("SPEECH FRAME"),_INTL("TYPE%d"),1,$SpeechFrames.length,
proc { $PokemonSystem.textskin },
proc {|value| $PokemonSystem.textskin=value;
MessageConfig.pbSetSpeechFrame(
"Graphics/Windowskins/"+$SpeechFrames[value]) }
)
]

[MENTION=24071]Sprite[/MENTION]s["option"]=Window_PokemonOption.new [MENTION=12671]pokemon[/MENTION]Options,0,
[MENTION=24071]Sprite[/MENTION]s["title"].height,Graphics.width,
[email]Graphics.height [MENTION=24071]Sprite[/MENTION]s["title"].height[/email])
[MENTION=24071]Sprite[/MENTION]s["option"].viewport=@viewport
[MENTION=24071]Sprite[/MENTION]s["option"].visible=true
# Get the values of each option
for i in 0.. [MENTION=12671]pokemon[/MENTION]Options.length
[MENTION=24071]Sprite[/MENTION]s["option"]= [MENTION=12671]pokemon[/MENTION]Options.get || 0)
end
pbDeactivateWindows [MENTION=24071]Sprite[/MENTION]s)
pbFadeInAndShow [MENTION=24071]Sprite[/MENTION]s) { pbUpdate }
end
Hay k sustituir en el script de Pokemon options(Borras desde la linea 347[v13] asta la linea donde pone
pbDeactivateWindows [MENTION=24071]Sprite[/MENTION]s)
y asta el end.Tras borrarlo copiaas y pegas el script k te puse antes

el mensaje se me bugeo y salio doble Lol