Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Scrolling levels breaks the fitness counter #7

Open
bramnet opened this issue Apr 23, 2018 · 2 comments
Open

Auto Scrolling levels breaks the fitness counter #7

bramnet opened this issue Apr 23, 2018 · 2 comments

Comments

@bramnet
Copy link

bramnet commented Apr 23, 2018

When mario is on the left hand side or right hand side of the screen on Auto Scrolling levels, the fitness counter slowly decreases by one.
One example is Donut Planes 2

@wts42
Copy link
Contributor

wts42 commented Apr 23, 2018

Haven't detected this bug yet. Will check it later this day and make some tests. Maybe we have to read memory for scrolling and adjust fitness functions for it. In this case I can check the difference for vertical / horizontal levels too.

@wts42
Copy link
Contributor

wts42 commented Apr 23, 2018

Have found a way to detect scrolling in memory:
Ram address $7E:143E ~= 0 tells us that scrolling is enabled.
http://old.smwiki.net/wiki/RAM_Address/$7E:143E

Now we need to find a way to adjust the fitness counter to nullify scrolling's -1 behavior.
If anyone has an idea for this I would appreciate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants