Language…
11 users online: dotCoockie, DPBOX, Golden Yoshi, masl, Rauf, Shomi, signature_steve, Sweetdude,  Telinc1, timothy726, zAce08xZ - Guests: 256 - Bots: 354
Users: 64,795 (2,377 active)
Latest user: mathew

Tilemap Numbers

So, I want to use this sprite and change its tilemaps, but I don't know anything about tile numbers. Is there a tool or something that allows me to see what numbers correspond to which tiles in SMW's gfx?
You can directly change the tilemap in the .asm file itself. Look for a table with the word 'tile' in it, which should contain all the necessary tiles.

However, in this case, there is no table. Instead, there's a define with the word 'tile' in it. Change that.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Originally posted by Doopliss
So, I want to use this sprite and change its tilemaps, but I don't know anything about tile numbers. Is there a tool or something that allows me to see what numbers correspond to which tiles in SMW's gfx?


The define for the tile used references the top-right corner of a square of 8x8 tiles (could be just a 1x1 square). The numbers in the define are the same numbers as the location in the 8x8 tile editor, so just input the value you want based on that.
One more thing, how do I change gfx pages? Each page has the same value for each slot "ie, 01, 02, 03, etc).
Originally posted by Doopliss
One more thing, how do I change gfx pages? Each page has the same value for each slot "ie, 01, 02, 03, etc).

In most cases you can use the CFG editor to open the cfg/json file of the sprite and change the "Use second graphics page" option: if not set, the sprite will use graphics from SP1/2 (page 0x4 in LM's 8x8 editor), if it's set if will use SP3/4 (page 0x5).
I see. Thank you. So, in that case I want to change the tilemap for the alt gfx for this sprite, but I don't know how. The cfg editor for the sprite already lists it as using the 2nd gfx page, and the sprite's asm file doesn't have a section telling the alt gfx to use the 1st page.
Okay this is one of the cases where the page is defined within the asm file instead of using the cfg property (at least for the alt gfx). Try changing "LDA #$04" to "LDA #$05" at line 43.
THANK YOU SO MUCH! #smw{^_^}


Man, I REALLY need to stop asking so many questions around here. I'm starting to feel like a nuisance.
Originally posted by Doopliss
Man, I REALLY need to stop asking so many questions around here. I'm starting to feel like a nuisance.

Don't worry too much about that.
Ah, okay then. Thanks again. :D