-
Notifications
You must be signed in to change notification settings - Fork 817
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
Remove enum; add const_skip and const_next #740
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh boy do I have the barrel of nitpicks for ya.
; 0 nightmare | ||
; 1 curse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should be handled in a different PR, but why document the bits here when they're documented in constants/
and associated with the proper label in a comment? Maybe this is one of those places where EXPORT
is a good idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'd rather just delete those redundant comments in wram.asm. The SUBSTATUS_*
constant definitions already comment that they apply to wPlayerSubStatus1
, wPlayerSubStatus2
, etc, and have descriptive names. Maybe this wram.asm comment could just be "; takes a SUBSTATUS_*
value`".
(Also, definitely save that for a separate PR, because I think the constants should also be SUBSTATUS1_*
, SUBSTATUS2_*
, etc, to make it clear which go where.)
35faf00
to
fcf041a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stuff left for a different PR:
- Remove bit descriptions from wram.asm
- Use RSSET for structures, instead of the ugly
const_skip
for the higher byte currently.
Remove enum; add const_skip and const_next
Corresponds to pret/pokegold#55