ref: 66ddeeff6c8f8142f522fd5fc3bc6269cec7ae7c
parent: c85ba78b778a0e35c2fe7f97ed4e8fee1b3c7036
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Mon Oct 26 18:35:40 EDT 2020
Update the style guide with new conventions and rgbasm possibilities
--- a/STYLE.md
+++ b/STYLE.md
@@ -69,6 +69,7 @@
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 @@
; do
db \1, \2, \3, \4, \5
-rept 5
- shift
-endr
+ shift 5
db \1, \2, \3, \4, \5
ENDM
@@ -161,7 +160,7 @@
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