summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-07-20 22:00:08 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-07-20 22:00:08 -0400
commitb59e7c77cede555f77059fb619c51c1d68b19181 (patch)
tree9a4e1c8204165e74d04a64af4c45f774c1b030a0
parentd07673d3800ab939e75994beec4bce961d574b26 (diff)
parent7c17d8ea982b54030dcba8d04abff8f840b40b87 (diff)
Merge branch 'master' of https://github.com/pret/pokecrystal.wiki
-rw-r--r--Code-cleanup.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/Code-cleanup.md b/Code-cleanup.md
index d0da146..8162347 100644
--- a/Code-cleanup.md
+++ b/Code-cleanup.md
@@ -44,6 +44,10 @@ Most of the time, raw numbers should not exist because there are more meaningful
Currently a mixture of `Text_*`, `*Text`, and `BattleText_*`. Likewise for the [engine/](../tree/master/engine/) labels that just `text_jump` to one of them.
+The convention that should be used is as follows:
+- Use suffixes, i.e. not `Text_Something`, but `SomethingText`. Same for `Movement`.
+- Labels that are referenced through `text_jump` should be prefixed with an underscore, e.g. `SomethingText: text_jump _SomethingText`.
+
### WRAM label style