You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use more assertions to ensure correct code and data
This commit is contained in:
@@ -38,6 +38,7 @@ maskbits: MACRO
|
||||
; maskbits 26
|
||||
; cp 26
|
||||
; jr nc, .loop
|
||||
assert 0 < (\1) && (\1) <= $100, "bitmask must be 8-bit"
|
||||
x = 1
|
||||
rept 8
|
||||
if x + 1 < (\1)
|
||||
|
Reference in New Issue
Block a user