You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Require rgbds 0.5.1
Use some new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
unownword: MACRO
|
||||
for x, STRLEN(\1)
|
||||
db STRSUB(\1, x + 1, 1) - "A" + FIRST_UNOWN_CHAR
|
||||
for n, CHARLEN(\1)
|
||||
db CHARSUB(\1, n + 1) - "A" + FIRST_UNOWN_CHAR
|
||||
endr
|
||||
db -1
|
||||
ENDM
|
||||
|
Reference in New Issue
Block a user