- 42
- Posts
- 15
- Years
- Seen Jan 7, 2017
How I can to change the color of text of battle???
Thanks
Can help my someone please???
How I can to change the color of text of battle???
Thanks
Can help my someone please???
The first two are for the message box, the next two are for the selection boxes (such as when you choose a move), and the last two are for the text in the Pokémon info boxes.MESSAGEBASECOLOR=Color.new(248,248,248)
MESSAGESHADOWCOLOR=Color.new(104,88,112)
MENUBASECOLOR=Color.new(72,72,72)
MENUSHADOWCOLOR=Color.new(208,208,208)
BOXTEXTBASECOLOR=Color.new(64,64,64)
BOXTEXTSHADOWCOLOR=Color.new(216,208,176)
Would anyone know where to edit the enemies position in the PokeBattle_ActualScene script? I've fixed everything else up, but I'm seeming to have trouble locating that bit of the script.
For the first one, after picking your starter, turn a switch on (the same one for all three starters). Then, for all three events, add a new page before the blank page, but after the first page. Change its graphic, and make its condition the switch you turned on. Then, you can just add the text to display if you've already picked a Pokémon.WICHU what you said worked but the other 2 pokeballs are still there.
2-
I added 2 more characters you can play with. It now says BOY,GIRL,OLD MAN,OLD LADY.I used the editor and fixed the sprite. This is the script :
@>Show Choices: BOY,GIRL,OLD MAN,OLD LADY
: When [BOY]
@>Script: pbChangePlayer (0)
@>
: When [GIRL]
@>Script: pbChangePlayer (1)
@>
: When [OLD MAN]
@>Script: pbChangePlayer (37)
@>
: When [OLD LADY]
@>Script: pbChangePlayer (38)
@>
: Branch End
@>Script: pbShowPicture(2,pbGetPlayerGraphic,1,230,160)
What I didn't change what the
@>Script: pbShowPicture(2,pbGetPlayerGraphic,1,230,160)
but I'm not sure if its because of that.
I don't know if anyone can help me with this but I would really appreciate it.
Use Time.now to get the current time, and Time.strftime to convert it to a string. For example:Another question, how would one go about of showing the current time. What script command would do that?
time=Time.now
timestr=time.strftime("%I:%M %p")
$game_variables[1]=timestr
Show Text: The current time is \v[1].
I have got a problem with my Water AutoTile. The problem is that I can walk over It. (sorry my english isn't very good) By the Editor you can't give autotiles a number or something. And I have done that you cannot walk on it. but that does not work :( Maybe you guys can help me with my problem
Use RMXP's database (press F9) to change tile passability and give autotiles terrain tags.
Check that you're only using the top-left autotile to erase; using other blank tiles messes up passability.That doesn't work :( I have every thing the same as the normal tilset (the one called Outside) But I doesn't work
You need a new class for the time window:Ooh, cool. By the way, how would you go about on inserting a window to show the time? I've been trying to analyze PokemonMenu and it's being a pain. haha.
class Window_Time < Window_AdvancedTextPokemon
def initialize
super("")
self.x=0
self.y=256
@time=0
update
end
def update
time=Time.now
if time.to_i!=@time
@time=time.to_i
self.text=time.strftime("%H:%M:%S")
self.resizeToFit(self.text)
end
super
end
end
def addRegionalEntries(num,file)
dex=[]
curnum=1
begin
File.open(file,"rb"){|f|
f.each_line{|l|
dex.push([PBSpecies.const_get(l[/(\w*)/].to_sym),curnum])
curnum+=1
}
}
rescue
raise "Undefined species constant name: #{$1}"
end
pokemon=[]
regionalnumbers=[]
curspecies=0
dex.sort!{|x,y|x[0]<=>y[0]}
File.open("PBS/Pokemon.txt","rb"){|f|
f.each_line{|l|
if l[/\[(\d*)\]/]
curspecies=$1.to_i
pokemon[curspecies]=[]
regionalnumbers[curspecies]=[0]
elsif l[/RegionalNumbers\=(\w*)/]
regionalnumbers[curspecies]=$1.split(",")
else
pokemon[curspecies].push(l)
end
}
}
for i in dex
regionalnumbers[i[0]][num]=i[1]
end
File.open("PBS/Pokemon.txt","wb"){|f|
for i in 0...pokemon.length
next if !pokemon[i]
f.write("[#{i}]\r\n")
for line in pokemon[i]
f.write(line)
end
f.write("RegionalNumbers=")
for j in 0...regionalnumbers[i].length
f.write(regionalnumbers[i][j] ? regionalnumbers[i][j] : "0")
f.write(",") if j<regionalnumbers[i].length-1
end
f.write("\r\n")
end
}
end
Try this script.how do you take a picture of an entire map? This would be incredibly helpful for my thread
Do you mean that you can't give any Pokémon a nickname?can you make it so you cant give your Pokémon a nickname?
Do you mean that you can't give any Pokémon a nickname?
So that when you catch any Pokémon you can NOT give ANY pokemon a nickname
if pbDisplayConfirm(_INTL("Would you like to give a nickname to {1}?",pokemon.name))
species=PBSpecies.getName(pokemon.species)
[email protected](_INTL("{1}'s nickname?",species))
pokemon.name=nickname if nickname!=""
end
if Kernel.pbConfirmMessage(_INTL("Would you like to give a nickname to {1}?",speciesname))
helptext=_INTL("{1}'s nickname?",speciesname)
newname=pbEnterText(helptext,0,10)
pokemon.name=newname if newname!=""
end
Okay, in PokeBattle_Battle, find and delete these lines:
That should do it. If you want it to be impossible to nickname obtained Pokémon, find and delete these lines in PokemonUtilities:Code:if pbDisplayConfirm(_INTL("Would you like to give a nickname to {1}?",pokemon.name)) species=PBSpecies.getName(pokemon.species) [email protected](_INTL("{1}'s nickname?",species)) pokemon.name=nickname if nickname!="" end
Code:if Kernel.pbConfirmMessage(_INTL("Would you like to give a nickname to {1}?",speciesname)) helptext=_INTL("{1}'s nickname?",speciesname) newname=pbEnterText(helptext,0,10) pokemon.name=newname if newname!="" end
I think you can just use \r and \b in a text event command to make it red or blue. I'm not sure on the other one, though; try using Character Map (Start → All Programs → Accessories → System Tools).2. I also noticed that in FireRed and LeafGreen, when male characters speak, their text is blue, and when female characters speak, their text is red. How would I change the color of text in the game?