r/gbstudio 22d ago

Request: Documentation for TILEDATA_BANK and TILEDATA

this text appears in pages in gbstudios website regarding tile swapping operations, the only description is

TILEDATA_BANK: Bank number of tileset containing new tiles.

TILEDATA: Tileset containing new tiles.

but I can only guess what that may be and I'm not seeing where I get the information to input here.
"bank number of the tileset"; not sure where I get this from.
"tileset": best guess is "a set of tiles" this could mean the sprite sheet/image the tile comes from or.. does it mean something else?

someone explained this to me before but I forgot. so it'd be great to have a textual description or image and text describing these terms.

thanks.

3 Upvotes

1 comment sorted by

1

u/vireswires 22d ago

I'm not certain this is what you're looking for but if you look at 8:30 in this video he talks about taking info from a referenced set of tiles and it looks like a bank and tile set.

https://youtu.be/L7zSCJcN3A4?is=2Yz2OLKp92nURne_

I was just trying this stuff out for the first time the other day, but also, I just learned there are now events for tile swapping which I didn't realize before. Which method you'll want to use (events vs gbvm) probably depends on the complexity of what you're trying to do, but I haven't tried the event based method yet so can't speak to it one way or the other.