Hi,
just wondering where in the Rom code that the size of the level is determined.
In my program I want the user to be able set the location of an object in the level but stay within the bounds of the level.
Thanks
rainbowsprinklez wrote:Spoiler!
The start of the level bounds are in A, the end - 0x100 is in y. Have fun with ram. The start is stored in $1b23 and the end - 0x100 in $1b25.
For this you need level codes. In dkc1, each entrance is its own unique level code
Cyclone wrote:I'm not sure what you mean. could you elaborate / walk me through it? I'm sorry I don't understand assembly code that well. I don't know which "A" and "Y" you are referring to in that code block and where that $1b23 is.
Thanks a bunch.
Edit
"The start is stored in $1b23 and the end - 0x100 in $1b25."
Are those RAM addresses?
Users browsing this forum: No registered users and 17 guests