Sprite Issue

Discussion of programming and development for the original Game Boy and Game Boy Color.
Post Reply
Pennywise
Posts: 71
Joined: Tue Jul 14, 2009 11:04 am

Sprite Issue

Post by Pennywise »

Working on translating an RPG for the GB and I'm having a sprite issue. Some enemies are a combination of tiles and sprites and there's issue/bug that happens when I defeat an enemy that is composed of sprites and tiles, when the dead enemies sprites get flushed from OAM, the remaining enemies sprites are messed up. What's happening is that when the OAM is updated, the sprite tiles are wrong and everything else is fine. I'm pretty sure I can't do a write breakpoint to OAM, so is there an ideal way to find the data being stored in OAM?

Edit: This might have been a bit premature, I've just located the OAM data at the start of WRAM.
Post Reply