mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
General tidying up
This commit is contained in:
@@ -1507,32 +1507,6 @@ end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
# Interpreter functions for naming the player
|
||||
#===============================================================================
|
||||
class Interpreter
|
||||
def command_303
|
||||
if $Trainer
|
||||
$Trainer.name=pbEnterPlayerName(_INTL("Your name?"),1,@parameters[1],$Trainer.name)
|
||||
return true
|
||||
end
|
||||
if $game_actors && $data_actors && $data_actors[@parameters[0]] != nil
|
||||
# Set battle abort flag
|
||||
$game_temp.battle_abort = true
|
||||
pbFadeOutIn {
|
||||
sscene=PokemonEntryScene.new
|
||||
sscreen=PokemonEntry.new(sscene)
|
||||
$game_actors[@parameters[0]].name=sscreen.pbStartScreen(
|
||||
_INTL("Enter {1}'s name.",$game_actors[@parameters[0]].name),
|
||||
1,@parameters[1],$game_actors[@parameters[0]].name)
|
||||
}
|
||||
end
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
|
||||
Reference in New Issue
Block a user