Woah, lots of questions!
Quote:
Originally Posted by Dero
Hey Community,
I have a question.
I want to load a picture with 256 colours.
Like the worldmap I think.
So I want to know how i must insert this picture and then how can I display it on the screen. I am not the best in ASM, so I don't want to see a complete code or something, I just want an explanation how I can do it and how it works. After that I had thinked of another way like. I want to load a graphic as background, then there are objects which I can select and if I push a another site will be opened with informations.
I hope you can help me, sorry for my bad english and also I hope you can understand me.
Dero
|
Loading pictures larger than 64x64 sprites requires tilemaps. And using tilemaps requires ASM. I don't personally know how to do it, but feel free to look up the GBATEK and teach yourself.
Quote:
Originally Posted by Rumille
Hmm, thanks. Seems very complicated though, I don't think I really understand the method. Do I need to patch my Fire Red rom first?
If I understand correctly I can, after applying the patch, easily change my hero sprite by just using this simple script:
However, what are the 0x107, 0x108, 0x109 etc? I can't seem to find that part explained. Also, I've been taught that when I use setvar, I use variables higher than 4000. That doesnt seem possible anymore then apparently.
Help with this is much appreciated!
|
If you read the manual, you'd know what you're setting the variables to. You set them to be what you want your overworld to change in to. It's set up like: 0xTTPP, with TT being the table number, and PP being the picture number. So, if you wanted to change the players OW to be picture 17, set variable 0x4054 to 0x0017. Also, if you don't know what I'm talking about with "table number", just make it 00.
Quote:
Originally Posted by OMGWURMPLES!
It might have been the way I backed it up.
Is there a correct way besides just copy and pasting the ROM? I've noticed that when I do that, then AdvanceMap refuses to open up the copy.
|
File > Create Backup. It'll save it as a .bak file. When you need to use it, change the .bak into a .gba, open both in a hex editor, and copy the entire contents of the backup onto the original. Thats what I do, since using the backup after you turned it into a .gba, it doesn't work on emulators for whatever reason.