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

Instructions after an Init Ret are not ignored. #59

Closed
DLPB2 opened this issue Feb 5, 2017 · 1 comment
Closed

Instructions after an Init Ret are not ignored. #59

DLPB2 opened this issue Feb 5, 2017 · 1 comment

Comments

@DLPB2
Copy link

DLPB2 commented Feb 5, 2017

I am aware that the "init" and "main" are in fact one script separated by a return, but I think Makou should ignore instructions after the "init" return. At the moment, the instruction after Return will still be seen and executed, likely because it's being seen as the first instruction of Main (example):

Play music #0
Return
Fade music volume (param1 (8-bit)=255, param2=0, param3=127, param4=0, param5=0) << Still executed.

Makou probably sees this instruction as the first instruction of Main.

@DLPB2
Copy link
Author

DLPB2 commented May 11, 2017

I've had a change of heart here. I don't think there is any good way to do this, as it would require not saving lines after the "ret", which is the bigger evil.

You may remove this issue. :)

Dan

@myst6re myst6re closed this as completed May 11, 2017
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