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!
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.
the command
writebytetooffset [byte] [offset to change]
can be used to modify an offset that is not in the RAM?
And can i use a variable instead of using directly an hex value between 0x00 and 0xFF?
So I have to edit the level byte in the offset with the wildbattle command in it, don't I?
And I must use ASM in order to do this or there is a way via script?
You should know that in the variable 0x800F is automatically placed the number of the Person event that you talked last with. And the command reads the value in the variable instead of reading the name of the variable as a number. And it works how it's supposed to.
The range of Person events is...
In this case the Person event is in the variable 800F, and in this case the command read the value in the variable instead the name of the variable as a number, i.e. the command hides the Person event 2 instad of the Person event 32783 (800F in Dec)
Why the wildbattle command can't do the same...
And why the command
hidesprite 0x800F
isn't read as "hide the sprite number 800F" instead of "hide the sprite with the number contained in variable 800F" ?
Can i use a variable as level in the wildbattle command?
For example if I want do a wild battle againist a Charizard which level is a random value between 1 and 100 I'd do this:
#dynamic 0x800000
#org @start
lock
faceplayer
random 0x64
addvar 0x800D 0x1
wildbattle 0x6 0x800D 0x0
fadescreen...
My first was a green machoke I found in victory road when training in order to beat the elite 4. Followed by a green zubat found when going around waiting for the hatch of my Phione and a green bronzor in turnback cave. The last was a green mr. mime in the search of mesprit.
Ow, all green shinies
I think the hardest part is spriting and creating tiles, mainly because if you don't know how to script or ASM you can learn it. Spriting is art, if you haven't artistic skills there is NO way you can learn how to sprite, like learning how to draw good as well