mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Update the style guide with new conventions and rgbasm possibilities
This commit is contained in:
parent
c85ba78b77
commit
66ddeeff6c
7
STYLE.md
7
STYLE.md
@ -69,6 +69,7 @@ PascalCase: ; label
|
||||
PascalCase:: ; global label
|
||||
.snake_case ; local jump
|
||||
.PascalCase: ; an atomic chunk of code or data that's local
|
||||
; don't define unused labels when a comment would do
|
||||
|
||||
; Labels are prefixed with lower case letters depending on location
|
||||
wPascalCase: ; wram
|
||||
@ -151,9 +152,7 @@ endr
|
||||
|
||||
; do
|
||||
db \1, \2, \3, \4, \5
|
||||
rept 5
|
||||
shift
|
||||
endr
|
||||
shift 5
|
||||
db \1, \2, \3, \4, \5
|
||||
|
||||
ENDM
|
||||
@ -161,7 +160,7 @@ ENDM
|
||||
|
||||
UPPER_CASE_IS_OK_SOMETIMES: MACRO
|
||||
|
||||
; but i can't think of any examples
|
||||
; but I can't think of any examples besides ACRONYMS
|
||||
|
||||
ENDM
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user