Does anybody know where the update method of scripts are?
They tend to be called what they are XD. def update. They usually contain methods such as Input.update and/or Graphics.update.
Not every script has an update method, but several do. It's usually present whenever dealing with non-static graphics or places that the user can perform any kind of input, such as clicking with the mouse or pressing keys. The easiest way to find them is to use Ctrl+Shift+F. It's your best friend when trying to find anything, since it searches through all script sections instead of just the current one like Ctrl+F does.Yeah but where are they? i.e. is there an update method in every script or is there only one?
Not sure if it will help, but on the essentials tilesets, they all have battle bg 1 shown.Hey, first off, thanks for this. Its great, and my knowledge of RPG Maker is making this a breeze to use.
Secondly, I'm having a real problem. I tried google, but I'm getting very frustrated and I really hope somebody here can help.
When I try and change the battle backgrounds, its just a black screen during battle. The images are .png format, they're the right size etc. I wanted to change the battle back to something like this: https://ligtherzein.deviantart.com/art/Battlebackground-193424462 (I'll provide the actual image if necessary) since the Notes.html says that the battle background can be any size :/
The images I have all end in GRASS ( example: battlebgGrass.png), and in the Metadata editor I've made it so that that is what it uses. But no matter what I do, its a black screen during battle. Can someone help me please?
Hey, first off, thanks for this. Its great, and my knowledge of RPG Maker is making this a breeze to use.
Secondly, I'm having a real problem. I tried google, but I'm getting very frustrated and I really hope somebody here can help.
When I try and change the battle backgrounds, its just a black screen during battle. The images are .png format, they're the right size etc. I wanted to change the battle back to something like this: https://ligtherzein.deviantart.com/art/Battlebackground-193424462 (I'll provide the actual image if necessary) since the Notes.html says that the battle background can be any size :/
The images I have all end in GRASS ( example: battlebgGrass.png), and in the Metadata editor I've made it so that that is what it uses. But no matter what I do, its a black screen during battle. Can someone help me please?
Not sure if it will help, but on the essentials tilesets, they all have battle bg 1 shown.
Like in the attachment.
Hey, first off, thanks for this. Its great, and my knowledge of RPG Maker is making this a breeze to use.
Secondly, I'm having a real problem. I tried google, but I'm getting very frustrated and I really hope somebody here can help.
When I try and change the battle backgrounds, its just a black screen during battle. The images are .png format, they're the right size etc. I wanted to change the battle back to something like this: https://ligtherzein.deviantart.com/art/Battlebackground-193424462 (I'll provide the actual image if necessary) since the Notes.html says that the battle background can be any size :/
The images I have all end in GRASS ( example: battlebgGrass.png), and in the Metadata editor I've made it so that that is what it uses. But no matter what I do, its a black screen during battle. Can someone help me please?
On which script/method/line do you need this comparison?Does anyone know the way in which the the player's Pokemon is handled when scripting Pokeballs, I believe "battler" is for the opponent, but I can't figure how to use the player's Pokemon.
Any help is appreciated.
EDIT: (some more info)
I want to compare the level of the player's current Pokemon and compare it to the enemy's level.
I know how to do the comparing, but I don't understand where I can get the info to compare it with.
Editor inputs it to PBS file wrong. GO to PBS, go to metadata.txt, go to map in question, find the line it has the battle background number, delete the little rectangle thing, and save
It looks like you can callI love you, thankyou so much!
Also, one last question. Is it possible to take a pokemon out of the party and then return the EXACT same pokemon to the player?
$game_variables[800]=$Trainer.party[0]
$Trainer.party.delete_at(0)
$Trainer.party.compact!
On which script/method/line do you need this comparison?
})
BallHandlers::ModifyCatchRate.add(:LEVELBALL,proc{|ball,catchRate,battle,battler|
if PLAYER.level>battler.level
catchrate
if PLAYER.level<(battler.level*2)
catchRate*=2
else
if PLAYER.level<(battler.level*4)
catchrate*=4
else
if PLAYER.level>(battler.level*4)
catchrate*=8
end
next catchRate
})