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

Update StatusBar.asm #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

johnwelter
Copy link

fix to make sure the game doesn't reset when adding an energy tank

fix to make sure the game doesn't reset when adding an energy tank
@johnwelter
Copy link
Author

welp, just realized that RTS call is unnecessary, since the Xplus4 call already has it. but other than that, this is a necessity to get the game to work

@@ -122,7 +122,8 @@ LE18B: sta Sprite00RAM+3,x ;
LE18E: sec ;
LE18F: sbc #$0A ;Find x coord of next energy tank.
LE191: sta $00 ;

jmp Xplus4
rts
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RTS call isn't needed, it's handled in the Xplus4 call

rockyhardwood and others added 8 commits June 3, 2024 17:57
added common area code for original decomp to save on label changes
simplifying the code to exclude all the L tags, and make unknown placeholders
replaced all LC/LD label calls with proper placeholders, removed LC/LD label tags
clearing up some obfuscations, adding comments, removed more L labels in the main code
resetting back to master branch changes
added Xplus4 call to ensure the game doesn't reset when adding an energy tank
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

Successfully merging this pull request may close these issues.

2 participants