LagoLunatic / DSVEdit

Multi-purpose editor for ROM hacking DS and GBA Castlevania games
MIT License
92 stars 13 forks source link

About byte 5C in AoS Entity Memory Format #90

Closed 0user0name closed 2 months ago

0user0name commented 2 months ago

The document AoS Entity Memory Format said that byte 0x5C "InitializeEnemyFromDNA sets this to 0x12". I changed this value of an enemy several times and find the enemy is hidding behind the layer when the number is larger than the Z-index of the layer. And this is also effecitive when I change the byte 5C of other Entities such as fire or candle, It can go behide the layer, or cover other Entities with a larger number in their byte 0x5C as expected. So I think this value is the Z-index of the entity.